package cn.iocoder.an.module.business.enums;

import cn.iocoder.an.framework.common.exception.ErrorCode;

/**
 * System 错误码枚举类
 *
 * system 系统，使用 1-002-000-000 段
 */
public interface ErrorCodeConstants {
ErrorCode REPORT_VIEW_NOT_EXISTS = new ErrorCode(100, "报表汇总不存在");

    // ========== 部门模块 1-002-004-000 ==========
    ErrorCode REPORT_NAME_DUPLICATE = new ErrorCode(1_002_004_000, "该名称已存在");
    ErrorCode REPORT_PARENT_NOT_EXITS = new ErrorCode(1_002_004_001,"父级类型不存在");
    ErrorCode REPORT_NOT_FOUND = new ErrorCode(1_002_004_002, "当前类型不存在");
    ErrorCode REPORT_EXITS_CHILDREN = new ErrorCode(1_002_004_003, "存在子类型或报表，无法删除");
    ErrorCode REPORT_PARENT_ERROR = new ErrorCode(1_002_004_004, "不能设置自己为父类型");
    ErrorCode  REPORT_PARENT_IS_CHILD = new ErrorCode(1_002_004_007, "不能设置自己的子类型为父类型");
    ErrorCode EQUIPMENT_TYPE_NOT_EXISTS = new ErrorCode(1_002_004_008, "设备分类不存在");
    ErrorCode EQUIPMENT_MANAGE_NOT_EXISTS = new ErrorCode(1_002_004_009, "设备台账不存在");
    ErrorCode IMPORT_EQUIPMENT_MANAGE_NOT_EXISTS = new ErrorCode(1_002_004_010, "导入数据不能为空");
    ErrorCode EQUIPMENT_EXISTS = new ErrorCode(1_002_003_011, "该设备已经存在");
    ErrorCode EQUIPMENT_TYPE_EXISTS = new ErrorCode(1_002_003_012, "该设备编码已经存在");
    ErrorCode MAINTENANCE_INFORMATION_NOT_EXISTS = new ErrorCode(1_002_003_013, "维保商档案不存在");
    ErrorCode MAINTENANCE_CLASSIFICATION_NOT_EXISTS = new ErrorCode(1_002_003_014, "维修分类不存在");
    ErrorCode MAINTENANCE_CLASSIFICATION_EXISTS = new ErrorCode(1_002_003_015, "该分类已存在");
    ErrorCode FAULT_CLASSIFICATION_NOT_EXISTS = new ErrorCode(1_002_003_016, "故障类型不存在");
    ErrorCode REPAIR_REQUEST_NOT_EXISTS = new ErrorCode(1_002_003_017, "维修申请不存在");
    ErrorCode REPAIR_TASK_NOT_EXISTS = new ErrorCode(1_002_003_018, "维修任务不存在");
    ErrorCode EQUIPMENT_TYPE_ALREADY_EXISTS = new ErrorCode(1_002_004_008, "该分类名称已经存在,注意名称不能重复");
    ErrorCode FAULT_CLASSIFICATION_ALREADY_EXISTS = new ErrorCode(1_002_003_016, "该故障类型的名称已经存在");
    ErrorCode EQUIPMENT_KEEP_TYPE_NOT_EXISTS = new ErrorCode(1_002_003_017, "设备保养分类不存在");
    ErrorCode EQUIPMENT_KEEP_SETTING_NOT_EXISTS = new ErrorCode(1_002_003_018, "保养项设置不存在");
    ErrorCode EQUIPMENT_KEEP_SETTING_TYPE_NOT_EXISTS = new ErrorCode(1_002_003_019, "保养类型不存在");
    ErrorCode EQUIPMENT_KEEP_CONFIG_NOT_EXISTS = new ErrorCode(1_002_003_020, "设备保养配置不存在");
    ErrorCode WARNING_CONFIG_NOT_EXISTS = new ErrorCode(1_002_003_020, "预警配置不存在");
    ErrorCode EQUIPMNET_KEEP_WAIT_NOT_EXISTS = new ErrorCode(1_002_003_021, "待保养设备不存在");
    ErrorCode KEEP_TASK_NOT_EXISTS = new ErrorCode(1_002_003_022, "保养任务不存在");
    ErrorCode EQUIPMENT_CHECK_TYPE_NOT_EXISTS = new ErrorCode(1_002_003_023, "点检项设置不存在");
    ErrorCode EQUIPMENT_CHECK_PLAN_NOT_EXISTS = new ErrorCode(1_002_003_024, "点检计划不存在");
    ErrorCode EQUIPMENT_CHECK_CONFIG_NOT_EXISTS = new ErrorCode(1_002_003_025, "设备点检配置不存在");

    ErrorCode KEEP_DELETE_NOT = new ErrorCode(1_002_003_026, "该分类在保养项设置中已被绑定,请先删除对应的保养项设置");

    ErrorCode CREATE_WAIT_FAULT = new ErrorCode(1_002_003_026, "绑定失败");


    ErrorCode EQUIPMENT_CHECK_RECORD_NOT_EXISTS = new ErrorCode(1_002_003_027, "点检记录不存在");

    ErrorCode EQUIPMENT_CHECK_RECORD_DETAIL_NOT_EXISTS = new ErrorCode(1_002_003_028, "点检记录明细不存在");

    ErrorCode DEV_INFO_NOT_EXISTS = new ErrorCode(1_002_003_027, "设备台账不存在");

    ErrorCode PRODUCT_TABLE_MAPPING_NOT_EXISTS = new ErrorCode(1_002_003_028, "产品表名映射不存在");


    ErrorCode FEEDBACK_NOT_EXISTS = new ErrorCode(1_002_003_028, "快捷反馈不存在");



    ErrorCode MANGE_ID_NOT_EXISTS = new ErrorCode(1_002_003_029, "产品ID管理不存在");
    ErrorCode MANGE_ID_EXITS_CHILDREN = new ErrorCode(1_002_003_030, "存在存在子产品ID管理，无法删除");
    ErrorCode MANGE_ID_PARENT_NOT_EXITS = new ErrorCode(1_002_003_031,"父级产品ID管理不存在");
    ErrorCode MANGE_ID_PARENT_ERROR = new ErrorCode(1_002_003_032, "不能设置自己为父产品ID管理");
    ErrorCode MANGE_ID_NAME_DUPLICATE = new ErrorCode(1_002_003_033, "已经存在该名称的产品ID管理");
    ErrorCode MANGE_ID_PARENT_IS_CHILD = new ErrorCode(1_002_003_034, "不能设置自己的子MangeId为父MangeId");

    ErrorCode AUDIT_AREA_NOT_EXISTS = new ErrorCode(1_002_003_035, "分层审核区域设置不存在");

    ErrorCode AUDIT_TYPE_NOT_EXISTS = new ErrorCode(1_002_003_036, "审核类型配置不存在");

    ErrorCode AUDIT_LEVEL_NOT_EXISTS = new ErrorCode(1_002_003_037, "审核等级不存在");


    ErrorCode AUDIT_PLAN_NOT_EXISTS = new ErrorCode(1_002_003_038, "审核计划不存在");

    ErrorCode AUDIT_PLAN_DETAIL_NOT_EXISTS = new ErrorCode(1_002_003_039, "审核填报不存在");

    ErrorCode AUDIT_PLAN_AREA_NOT_EXISTS = new ErrorCode(1_002_003_040, "审核计划区域不存在");

    ErrorCode DRAW_CONFIG_NOT_EXISTS = new ErrorCode(1_002_003_041, "图号配置不存在");


    ErrorCode STORE_INIT_NOT_EXISTS = new ErrorCode(1_002_003_042, "期初库存台账不存在");


    ErrorCode STORE_MANAGE_NOT_EXISTS = new ErrorCode(1_002_003_043, "出入库管理不存在");


    ErrorCode STORE_INIT_BACKUP_NOT_EXISTS = new ErrorCode(1_002_003_044, "库存台账备份不存在");


    ErrorCode REPORT_VIEW_NEW_NOT_EXISTS = new ErrorCode(1_002_003_045, "消息推送配置不存在");


    ErrorCode REPORT_CONFIG_NOT_EXISTS = new ErrorCode(1_002_003_046, "报表配置不存在");


    ErrorCode FILE_DAILY_NOT_EXISTS = new ErrorCode(1_002_003_047, "报不存在");

    ErrorCode CODE_LIST_NOT_EXISTS = new ErrorCode(1_002_003_048, "编码信息不存在");

    ErrorCode PART_LIST_NOT_EXISTS = new ErrorCode(1_002_003_049, "零件号不存在");

}
